package com.igeek.config.ch03.circle.singleton;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class MainTest {
    public static void main(String[] args) {
        AnnotationConfigApplicationContext ac=new AnnotationConfigApplicationContext(MyConfig.class);
        B b = ac.getBean(B.class);
        b.demo();
    }
}
